Diffracted magneto-optical Kerr effect of a Ni magnetic grating