Self-amplified spontaneous emission in Smith-Purcell free-electron lasers.