Robust spin crossover and memristance across a single molecule | Synapse