High-order-harmonic generation and superradiance in a seeded free-electron laser