Tesco, the UK retail giant, has signed a new pay deal with its workers in Poland.