Application of artificial intelligence using a convolutional neural network for detecting gastric cancer in endoscopic images