Interplay of Vanadium States and Oxygen Vacancies in the Structural and Optical Properties of TiO2:V Thin Films