The correlation between magneto-optical response and magnetic dipole resonance excitation in subwavelength silicon-nickel nanogratings