Effect of HBr additive on the performance of all-inorganic Cs3Bi2Br9 halide perovskite resistive switching memory