Factors associated with low body mass index and weight loss in nursing home residents.