What is the difference between electron affinity and ionization energy?