Stratification and mixing in exchange flows in sea straits