Influence of health status and the timing of surgery on mortality in hip fracture patients.