In-plane seismic response of brick masonry walls