Measuring nitrogen loss from denitrification