The leaders of the United States, Mexico and Canada have signed a new trade deal replacing the old NAFTA.