Theory of hot luminescence in pulse-excited semiconductors