Mechanistic studies of water oxidation and carbon dioxide reduction using transition metal catalysts with protic ligands