Lead-free layered halide double perovskites with aromatic organic cations for resistive switching memories and artificial synapses | Synapse