Applications of smart bricks for strain field reconstruction in masonry walls: Numerical analysis and shaking table tests