Adaptive field-oriented control of synchronous motors with damping windings