How long do dogs live with dementia