Effect of Sn doping on the structural and optical properties of sol–gel TiO2 thin films