Genetic algorithms for workspace optimization of planar medical parallel robot