Association of Infection-Related Hospitalization with Cognitive Impairment among Nursing Home Residents