Generalized vector dominance and inelastic electron-proton scattering