Effect of a moving flame on the temperature of polymer coatings and substrates