Impacts of water residence time on nitrogen budget of lakes and reservoirs.