Torque sensor for direct-drive manipulators