Even-harmonic generation in free-electron lasers.