Average local ionization energies: Significance and applications