Spectroscopic study of prompt nitrogen oxide formation mechanism in hydrocarbon-air flames