Bond-distance-dependent decay probability of the N 1s -> pi* core-excited state in N-2