Twelve people from the UK have been arrested after police smashed an alleged drug dealing ring in the Spanish holiday resort of Magaluf.