Mexiko har skickat soldater till gränsen mot USA, efter president Donald Trumps påtryckningar och hot om strafftullar.