Iraq has ordered the Kurdistan regional government to surrender control of its airports, or face an embargo on international flights.