Four-phase five-wire stepper motor driver