Beaches in Lanzarote and Majorca closed due to faecal contamination just before Easter, affecting British holidaymakers.