Layered (C6H5CH2NH3)2CuBr4 Perovskite for Multilevel Storage Resistive Switching Memory