the united states entered world war 1 because ships carrying american passengers were being attacked by which of these