Attuning the Electronic Properties of Two-dimensional Co-Fe-O for Accelerating Water Electrolysis and Photolysis.