Strength characterization of rock masses, using a coupled DEM–DFN model