Evaluation of carbon stripper foils for heavy-ion accelerators