Boris Johnson has pledged to make it quicker and easier for foreign scientists to settle in the UK under a shake-up of immigration rules after Brexit.