US grocery giant Kroger has raised its earnings guidance amid improving operating margins.