Estimation of visible, near-, and mid-infrared complex refractive indices of calcite, dolomite, and magnesite