Moscow cancels landmark military agreement with Berlin