Electronic excitations in NiO