Study of nitrogen and oxygen atom recombination on a quartz surface using resonance fluorescence spectroscopy