Nitrogen transport and transformations in tidal freshwater zones of rivers