Derivation and validation of an algorithm to predict transitions from community to residential long-term care among persons with dementia—A retrospective cohort study