Optimizing pore structure of nanoporous membranes for high-performance salinity gradient power conversion