Ultimate bearing capacity of rock masses based on the modified Hoek–Brown criterion