Deep sleep prevents dementia