Generation and amplification of nanosecond pulses by iodine lasers