Calculation of vertical ionization potentials by configuration interaction