A two-speed actuator for robotics with fast seamless gear shifting