A shock tube method in the kinetic study of nonequilibrium ionization-recombination by rarefaction wave cooling