Active Control of Irreversible Faradic Reactions to Enhance the Performance of Reverse Electrodialysis for Energy Production from Salinity Gradients