From ditch to delta : nutrient retention in running waters