Heterogeneous photocatalytic degradation of pharmaceuticals in water by using polycrystalline TiO2 and a nanofiltration membrane reactor