Optimum Synthesis of Multiloop Planar Mechanisms for the Generation of Paths and Rigid-Body Positions by the Linear Partition of Design Equations