How long dogs live with dementia