Flights have been grounded and people told to stay indoors as a thick blanket of smog engulfed Bosnia’s capital as residents tried to cope with toxic air.