Quasiparticle electronic structure of honeycomb C3N: from monolayer to bulk