UK retailer Asda has recorded its worst quarterly sales performance on record as the "competitive environment" weighed on results.