A prospective cohort study of patients presenting to the emergency department with upper gastrointestinal bleeding