A Mathematical Model of Thermal Processes in Cometary Nucleiстатья