who did us fight in world war 1