Calculated dependences of the grating strength and transmittance on the effective refractive index of grating grooves.