Fano resonances in all-dielectric electromagnetic metasurfaces