Application of UPFC to mitigate SSR in series compensated wind farms