Swedish fashion giant H&M booked a double-digit rise in third-quarter sales, while August saw its weakest growth in more than two years.