The impact of implementing current treatment modalities and female sex on gastric cancer outcomes, 2000–2016: a longitudinal nationwide cohort study