Linking the river to the estuary: influence of river discharge on tidal damping