A combination of high stock levels and increased production costs in Asia did not prevent Swedish retailer H&M making strong profit growth in the first half of the year.