Suppressing intrinsic self-doping of CsPbIBr2 films for high-performance all-inorganic, carbon-based perovskite solar cells