Ab initio calculation of the quasiparticle spectrum and excitonic effects in Li2O