UK warns of 'bumpy' post-Brexit transition despite deal