A limit analysis approach based on Cosserat continuum for the evaluation of the in-plane strength of discrete media: Application to masonry