A theoretical interpretation of photoelectron energy spectra for oxygen chemisorbed on nickel