Impact of flow configuration on electrosorption performance and energy consumption of CDI systems