Infrared diode laser spectroscopy of CaH and CaD(X 2Σ+). Determination of mass‐independent parameters