Optimal Trajectory Planning of Motor Torque and Clutch Slip Speed for Gear Shift of a 2-Speed Electric Vehicle