Qantas, Lufthansa redirect flights to avoid Iran airspace