who did the us fight in world war i