Nonlinear analysis of free-electron-laser amplifiers with axial guide fields