How did the treaty punish Germany?