US grocery retailer Kroger Co has reported higher quarterly earnings, boosted by a 5.9% increase in sales.