The net migration balance between Poland and Germany has turned negative for the first time in 25 years.