Dolomite formation in the seawater–freshwater interface