Dementia in prison: ethical and legal implications