Text this: Core-level electronic properties of nanostructured NiO coatings