Polarization-dependent nickel 2p x-ray-absorption spectra of La2NiO4+delta