Hapag-Lloyd extends profitability through H1