Boeing Q2 earnings: Deliveries surge, losses narrow as debt issues linger