Influence of cognitive functions and behavioral context on grasping kinematics