Sedation for upper gastrointestinal endoscopy: a comparative study of midazolam and diazepam