Hungary is slammed over treatment of migrants