Which of the following countries signed a nonaggression pact with the Soviet Union in 1939?