A geometric definition of rotational stiffness and damping applied to impedance control of parallel robots