American Airlines loses $1.9 billion in 2012 but profitable on operating basis