Simultaneous monitoring of photocatalysis of three pharmaceuticals by immobilized TiO2 nanoparticles: chemometric assessment, intermediates identification and ecotoxicological evaluation.