Determination of optimal operating parameters for tetracycline removal by adsorption from synthetic and real aqueous solutions