US grocery retailer and wholesaler Spartan Stores has booked a drop in first-quarter earnings but offered an optimistic outlook for the full year.