Spectral dependence of the diffraction efficiency of light-induced gratings in YAlO3:Mn crystals