Relationship between timing of endoscopy and mortality in patients with peptic ulcer bleeding: a nationwide cohort study.