Pledge of extra £500mn comes as PM flies to Warsaw and Berlin and announces largest supply of munitions to Kyiv