Design and control of series elastic actuators for disturbance rejection