US retailer Kroger has ratified an agreement with the United Food and Commercial Workers (UFCW) over new staff contracts.