Transient holographic grating in azo-dye-doped liquid crystals with off-resonant light