American Airlines posts record profit