Early detection of gastric cancer via high-resolution terahertz imaging system