Spin crossover polysaccharide nanocomposites