Effects of functional status changes before and during hospitalization on nursing home admission of older adults.