Electron beam generation from semiconductor photocathodes