Estimation of inaccuracies of thermocouple measurements of the temperature profile in pyrolyzed solid substances