How long does the dying stage of dementia last?