Optimization of chemical and physical pre-treatments in a platform for the treatment of liquid industrial wastes