Modelling study of transformations of the exchange flows along the Strait of Gibraltar