Evaluation of gas sorption parameters and prediction of sorption isotherms in glassy polymers