Equipment design for investigation of substances decomposed under the pressure of self-generated atmosphere by means of thermal analysis