Sex effects on short-term complications after hip fracture: a prospective cohort study