Legal aspects of dementia.