Influence of treatment factors on the outcome after hip fractures.