Electron excitation in the interaction of slow ions and electrons with metals and monolayer graphite on Ni(111) surfaces