Kinematic and Dynamic Integrated Design of Four-bar Linkages with Variable Input Speed