Facile preparation of hybrid thin films composed of spin-crossover nanoparticles and carbon nanotubes for electrical memory devices.