Thickness and uniformity characterization of thin targets for intense ion beam experiments