United Airlines reports $124 million loss in a quarter marred by grounding of some Boeing planes