Trump signs ban on travel to US by nationals from 12 countries, including Afghanistan, Haiti and Iran