Flights diverted as pilots not trained to handle fog: Officials