Charge-changing nuclear reactions of relativistic light-ion beams (5 ≤ Z ≤ 10) passing through thick absorbers