Linking adjacent shear-type structures with viscous dampers for the mitigation of the seismic effects