by treating the gases with a solution or a suspension of an alkali or earth-alkali or ammonium compound