Russia has agreed to lift bans on fresh produce from the European Union following an outbreak of E. coli.