Electron affinity and work function of differently oriented and doped diamond surfaces determined by photoelectron spectroscopy