DEM analysis of the effect of joint geometry on the shear behavior of rocks