Cobalt polyoxometalate-derived CoWO4 oxygen-evolving catalysts for efficient electrochemical and photoelectrochemical water oxidation