Photocatalytic water treatment on TiO2 thin layers