Influence of FACTS device like UPFC on damping of electromechanical swings. Part II. Application of LQR technique to design of UPFC controller