Contribution of endoscopy to diagnosis and treatment of gastric cancer