Two approaches for the analysis of masonry structures: Micro and macro-modeling