Dominique Pelicot was only caught after a security guard spotted him upskirting women in a supermarket