UV-induced synthesis of polyaniline (PANI)-TiO2 composites : mechanistic insight and application as sorbent for wastewater remediation