Calibration of the δ18O paleothermometer for dolomite precipitated in microbial cultures and natural environments