Risk factors for complications and mortality related to endoscopic procedures in adults.