Assessment of characteristics associated with pharmacologic thromboprophylaxis use in hospitalized patients: a cohort study of 10 016 patients