Room temperature spin crossover in molecular and polymeric materials