Fashion retailer H&M Hennes & Mauritz has admitted sales were hit by "the extreme heat wave" across a number of European markets during August.