American, Southwest reach deal with feds on nearly $14 billion in aid as part of airline bailout