Characterization of TiO2 thin films for photocatalytic applications