Flow patterns and transport of dissolved matter in tidal harbours