A multi-scale model for the reverse electrodialysis process with seawater and concentrated brines