Seismic Performance of Unreinforced and Reinforced Brick Masonry Structures by Numerical Modeling for Design Optimization