The estimation of electron affinities fromab initio 1s orbital energies