Understanding the redox behavior of transition metal complexes