Electron-acoustic solitary waves and double layers with an electron beam and phase space electron vortices in space plasmas