Distinct element modelling of the out-of-plane seismic behaviour of masonry walls