Automatic generation control of power systems implemented with facts devices using optimization techniques