Studies of the energy dependence of reactions of Ar+ and Ar+2 with CH4 and CS2