Air France-KLM plans gradual capacity ramp-up after second-quarter loss