Semiactive control of rigid blocks under earthquake excitation