Optimization of presser foot and needle bar driving mechanism based on the complex method principle