Holographic grating formation in dye doped polymer dispersed liquid crystals