The ring opening reaction of chromenes: a photochemical mode-dependent transformation