Charge state distributions and resulting isotopic fractionation effects of carbon and chlorine in the 1–7 MeV energy range