pattern on how ionization energy varies with atomic radius ionization energy and electron affinity