American Airlines posts second quarterly loss as COVID-19 hammers demand