The EU and China have agreed a memorandum of understanding on product safety, including food products.