American Airlines grounds all flights on computer glitch