Officials in London and Brussels are racing against a two-year deadline to make sure Britain has an orderly exit, but tensions are running high.