Photochemical behavior of azobenzene-conjugated CoII, CoIII, and FeII bis(terpyridine) complexes.