Gas transport through porous membranes