Microstructural model for dry block masonry walls with in-plane loading