From Water Oxidation to Reduction: Transformation from Ni(x)Co(3-x)O4 Nanowires to NiCo/NiCoO(x) Heterostructures.