Connection between the average local ionization energy and the Fukui function