Statistical damage constitutive model based on the Hoek–Brown criterion