Thickness effect in the photocatalytic activity of TiO2 thin films derived from sol-gel process