Ion sources for accelerators in materials research