An isobar model for eta photo- and electroproduction on the nucleon