American Airlines flight attendants accept contract offer