Measuring the contributions of nitrification and denitrification to the flux of nitrous oxide from soil