Photodynamics and electronic structures of metal complexes