Iran har sendt ut varsel om at landets luftrom stenges for alle fly, unntatt internasjonal flygninger til og fra Iran som har fått tillatelse.