Ab initio study of the dolomite to dolomite-II high-pressure phase transition