X-ray diffraction study of K- and Ca-exchanged montmorillonites in CO2 atmospheres.