Dynamic environmental transmission electron microscopy of spin crossover materials