Production of highly charged ions for ion–surface interaction studies