Effect of film thickness and annealing on optical properties of TiO2 thin films and electrical characterization of MOS capacitors