Improving the thermodynamic energy efficiency of battery electrode deionization using flow-through electrodes