Thermal stability of different layered materials.