Population-based study of diagnosis, treatment and prognosis of gastric cancer