what river forms a bordre between canada and new yor?