Sol-Gel Synthesis of Vanadate-Based Thin Films as Counterelectrodes in Electrochemical Devices