Short-term and long-term survival of patients with gastric cancer