Gender as a risk factor for adverse intraoperative and postoperative outcomes of elective pancreatectomy