US President Donald Trump has threatened to punish Mexico and Central American countries economically if they fail to curb migrant flows