Theoretical prediction of sorption curves for molecular sieves