Nonlinear analysis of efficiency enhancement in free-electron-laser amplifiers