Electrochemical water oxidation with transition-metal based catalysts: structure-function relations by electrochemistry combined with X-ray absorption spectroscopy and UV-visible spectroscopy