UK retailer Asda increased sales during the second quarter but saw profits fall due to costs linked to its acquisition of Netto's local business.