Dependence of joint spacing on rock properties in carbonate strata