why did germany lose territory after ww2