Effect of Erbium Doping on Sol-Gel Synthesized Vanadium Pentoxide and Titanium Dioxide Thin Films