Association of preoperative medication with postoperative length of stay in elderly patients undergoing hip fracture surgery