Sleep is key to preventing dementia