Asda saw its like-for-like sales growth slow in the second quarter in what the UK retailer said was a "tough" market.