When did Canada begin to strengthen its ties with the United States and other trading partners?