Tunable diffraction grating using ultraviolet-light-induced spatial phase modulation in dual-frequency liquid crystal