Estimating the effects of nosocomial infections on the length of hospitalization.