Fano resonances of dielectric gratings: symmetries and broadband filtering.