K- and L-shell ionization cross sections for protons and helium ions calculated in the ecpssr theory