Resilience in older adults: influence of the admission in nursing home and psychopathology