Sliding mode control of active and reactive power for doubly-fed induction generator