Micro-structured membranes for electricity generation by reverse electrodialysis