Metallic blazed grating TE mode resonance conditions and diffraction efficiency optical transfer function