Photoinduced energy and electron transfer processes in rigidly bridged dinuclear Ru/Os complexes