Diffraction efficiency vs wavelength and angle — binary, blazed and sinusoidal gratings; crossed gratings and metasurfaces in Pro