Research finds older dogs sleep less deeply when they develop dementia, just as people with Alzheimer’s disease do.