Functionalization of textile materials with TiO2 nanoparticles