Boeing reports historic losses in 2nd quarter