Mechanism of Ligand Photodissociation in Polypyridine Complexes of Ruthenium