In-plane seismic response of unreinforced masonry walls: comparison between detailed and equivalent frame models