Qantas to cut 5,000 jobs