Three-dimensional numerical modelling of historical masonry structures affected by tunnelling-induced settlements