Electrochemical reduction of nitrate in a catalytic carbon membrane nano-reactor.