Mesomechanics finite-element method for determining the shear strength of mudded intercalation materials