Atomic K-shell ionization induced by 20–50 MeV protons