Mechanical behavior of masonry made of flat blocks and thin mortar joints