An Optimum Design Algorithm for Mechanisms in Two-Finger Grippers