Which country began World War II as an ally with Germany, only to become an ally with Great Britain in 1941?