Evaluation of technologies for the removal of pharmaceuticals from wastewaters