Diffraction by volume gratings with imaginary potentials | Synapse