Use of the R-matrix method for bound-state calculations. II. Results for energy levels of C+