Electrified membrane for water treatment and resource recovery: advancing multiscale strategies in gas-involving reactions