Ion-neutral collisions in beam experiments. Production of Ar^(n+)(n=1,2) in the reaction of Ar^(n+) with N2