Emirates posts $3.4 billion half-year loss as COVID-19 hits flights