Energy spectra of 6–32 keV neutral and ionized Ar and He scattered from Au targets; ionized fractions as functions of energy