Study of neutron-induced ionization in helium and argon chamber gases