Association between severity of illness and mortality from nosocomial infection