Canada plans to buy 12 new submarines as the U.S. and its allies and adversaries step up operations in the thawing Arctic.