Enhancement of Both Faraday and Kerr Effects with an All-Dielectric Grating Based on a Magneto-Optical Nanocomposite Material