Shear strength and deformation response of jointed rocks