Electron emission from the pyramidal-shaped diamond after hydrogen and oxygen surface treatments