Halide perovskites for resistive random-access memories | Synapse