Electron beam-plasma interaction and electron-acoustic solitary waves in a plasma with suprathermal electrons