Relationship between assault frequency and length of hospitalization in older patients with dementia--determining the maximum benefit of inpatient treatment