Numerical investigation on the residual behaviour of masonry walls damaged by fire exposure