Adsorption and desorption of helium in aerogels