On the non-local screening mechanisms in the 2p photoelectron spectra of NiO and La2NiO4