characterizing diffraction gratings