Kroger swings to loss in Q4