Kinetics of removal of impurities from gases by high pressure adsorption