Quasiparticle band gap of organic-inorganic hybrid perovskites: Crystal structure, spin-orbit coupling, and self-energy effects