U.S., Canada reach framework deal to replace NAFTA