Patient-and hospital-based factors at admission associated with outcomes of patients hospitalized for acute pancreatitis : a retrospective cohort study