Torque-ripple minimization in switched reluctance motors using sliding mode variable structure control