Microplane modelling and particle modelling of cohesive-frictional materials