Carbon molecule (C60) and its ions: electronic structure, ionization potentials, and excitation energies