What was one geographic characteristic of Germany that influenced the outcomes of both World War I and World War II?