Micromodels for the in-plane failure analysis of masonry walls with friction: Limit analysis and dem-fem/dem approaches