Dosimetric comparisons of carbon ion treatment plans for 1D and 2D ripple filters with variable thicknesses