Transient grating optical nonlinearities of dye-doped cholesteric liquid crystals