Energy Loss of Low Energy H, He and O Ions in Carbon Foils