Association of cognitive status with functional limitation and disability in older adults