A school-age child had an upper respiratory tract infection for several days and then began having a persistent dry, hacking cough that was worse at night. the cough has become productive in the past 24 hours. this is most suggestive of