Simulating diffraction efficiency of a volume holographic grating using Kogelnik’s method