UK illegally detained hundreds of migrants: Report