Germany strengthening its military for deterrence amid Russian threat: President