Resistive switching performance of fibrous crosspoint memories based on an organic–inorganic halide perovskite