Influence of emergency endoscopy on the management and outcome of patients with upper gastrointestinal hemorrhage. Analysis of 500 cases.