American Airlines flights grounded after computer glitch