Torque spectroscopy for the study of rotary motion in biological systems