Spin transition materials: Molecular and solid-state