Dependence of pyrite concentration on kinetics and thermodynamics of coal pyrolysis in non-isothermal systems