Analytic Cross Sections for Inelastic Collisions of Protons and Hydrogen Atoms with Atomic and