A Cosserat based multi-scale model for masonry structures