A computer-aided methodology for the optimization of electrostatic separation processes in recycling