Discrete-element method for simulating behavior of cohesive soil