Germany's Merkel says refugees must return home once war is over