Passive and Semi-Active Control of the seismic response of structures