Study of NOx Formation in Hydrocarbon-Fueled Pulse Detonation Engines