Variations in circadian rhythms of activity, sleep, and light exposure related to dementia in nursing-home patients