Lattice oxygen redox chemistry in solid-state electrocatalysts for water oxidation