Localized electronic excitations in nickel oxide