Elastic interaction among transition metals in one-dimensional spin-crossover solids