A cosserat based multi-scale model for masonry structures