UK food companies will be given a transition period to comply with new labelling requirements post-Brexit.