Comorbidities affect risk of nonvariceal upper gastrointestinal bleeding