Prognostic implications of mismatch repair deficiency in patients with nonmetastatic colorectal and endometrial cancer