Qantas posts $607m first-half profit