The cooling effect by adsorption-desorption cycles