Theory of Electron Acceleration during Parametric Instabilities