Admission of people with dementia to psychiatric hospitals in Japan: factors that can shorten their hospitalizations