A Novel Formulation of the Dynamic Balancing of Five-Bar Linkages