Photoinduced ring-opening reaction of chromenes: a photochemical wavelength-dependent transformation