Electrochemical activation of photo- and electrochemical water oxidation catalysts