Genetic search in the optimal design of articulated manipulators