Functional status of community-dwelling older adults after inpatient rehabilitation