Utilization of photoreversible optical nonlinearities intrans-cis photochromic molecules for spatial light modulation