Intelligent control of inter-area oscillations in power systems