Acute confusion states, pain, health, functional status and quality of care among patients with hip fracture during hospital stay