Phanerozoic variation in dolomite abundance linked to oceanic anoxia