Mineralization and discoloration of textile wastewater by TiO2 nanoparticles