Measurement of organic and inorganic carbon in dolomite‐containing samples