Protecting the environment from pharmaceuticals