Studies on charge distribution and valence tautomerism in transition metal complexes of catecholate and semiquinonate ligands