Optimal pole shifting for power system stabilization