Optimal design of a linkage–cam mechanism-based redundantly actuated parallel manipulator