Canadian grocery retailer Loblaw recorded an increase in net profit during the first quarter, despite sales falling during the period.