The Treatment of Pharmaceutical Wastewater: Innovative Technologies and the Adaptation of Treatment Systems