Some 20,000 Afghans are to be welcomed into the UK over the coming years as part of a scheme to provide sanctuary for those most at risk of persecution by the Taliban.