Quantifying denitrification and its effect on ozone recovery