Co3O4 Thin Films: Sol-Gel Synthesis, Electrocatalytic Properties & Photoelectrochemistry