Theoretical study of time-resolved luminescence in semiconductors. II. Pulsed excitation