Mexico and Canada have vowed to impose their own taxes on billions of dollars of trade with their closest neighbour.