Atomistic simulations of tensile deformation in a CrCoNi medium-entropy alloy with heterogeneous grain structures