FACTS devices in liberalized power systems: an approach to loop flow problem