Generation of short pulses of coherent electromagnetic radiation in a free-electron laser amplifier