NEXAFS and XPS characterization of molecular oxygen adsorbed on Ni(100) at 80 K