Effect of MgCl2 on energy generation by Reverse Electrodialysis