Partial Ionization Cross Sections of He, Ne, H2, and CH4 for Electrons from 20 to 500 eV