Electron beam induced formation of carbon nanorods