The role of surfaces in gas transport through polymer membranes