Purification by adsorption on solids