The UK and EU have agreed to carry on post-Brexit trade talks after a call between leaders earlier on Sunday.