Structural and optical characteristics of n-TiO2 thin films by sol-gel method