Emergency department admissions, older people, functional decline, and length of stay in hospital