Elementary prediction of gas permeability in glassy polymers