Cathodic reduction of hexavalent chromium coupled with electricity generation achieved by reverse-electrodialysis processes using salinity gradients