A plan announced by Nigel Farage’s party to place migrant detention centres in Green-voting areas has been condemned by other political parties.