Study of the phase evolution, metal-insulator transition, and optical properties of vanadium oxide thin films