Prime Minister Boris Johnson has tweeted that a Brexit deal has been reached between UK and European Union negotiators.