Spin crossover and photomagnetic behaviors in one-dimensional looped coordination polymers.