Functional and cognitive profile of elderly residents in a long‑term care institution in the northeast