Static and dynamic analysis of masonry block-chains