A study of the ground states of N2, O2, and F2 and their ESCA spectra by the multiple scattering Xα method