Which country had gained control of most of Western Europe by 1940?