Closed form solution for predicting the horizontal capacity of masonry portal frames through limit analysis and comparison with experimental test results