Ionization of clusters produced in a hollow-cathode source