Photophysics, photochemistry and kinetics of photochromic 2H-pyrans and chromenes