A 3D model for salt diffusion and crystallization in masonry structures