3D frame-type macro-element modeling for seismic analysis of masonry buildings