Degrees of freedom and hand synergies in manipulation tasks