US retailer Safeway Inc has booked a decline in operating profit in the first half of the year.