Coupled electric and magnetic dipole formulation for planar arrays of particles: Resonances and bound states in the continuum for all-dielectric metasurfaces | Publicación