Transverse magneto-optical Kerr effect in subwavelength dielectric gratings