Quasiparticle energies and excitonic effects of the two-dimensional carbon allotrope graphdiyne: Theory and experiment