A Novel Method for Prescribing the Maximum Shaking Force of a Four-Bar Linkage with Flexibility in Counterweight Design