who invaded poland and the baltic states in 1939?