Hennes & Mauritz AB (H&M) has posted a 2% increase in July same-store sales, attributed to rainy conditions pushing more European consumers through its doors.