Effect of interface chemical properties on nonvolatile memory characteristics for small-molecule memory cells embedded with Ni nano-crystals surrounded by NiO