Theoretical Analysis of a Flow-By Electrochemical Reactor with Porous Cathode for the Simultaneous Removal of Different Metal Ions