The effect of changes in the flame structure on the formation and destruction of soot and NOx in radiating diffusion flames