Australia to buy nuclear submarines from U.S.