A parametric investigation of the seismic capacity for masonry arches and portals of different shapes