The relevance of frictional resistances in out-of-plane mechanisms of block masonry structures