Optimal allocation of FACTS devices for congestion relief and voltage stability improvement under deregulated power systems