Semiactive control using MR dampers of a frame structure under seismic excitation