what country invaded poland in 1939 to being world war2?