Treating pain in patients with dementia and the possible concomitant relief of symptoms of agitation