Monitoring and optimization of diclofenac removal by adsorption technique using in-line potentiometric analyzer