Denitrification in the nitrogen budget of a river ecosystem