Ballistics modeling of combustion heat loss through chambers and nozzles of solid rocket motors