Structure-function relationships in metal oxides and carbon-based catalysts for electrochemical energy conversion reactions