Performance analysis of reverse electrodialysis stacks: Channel geometry and flow rate optimization