Vibronic model for spin crossover complexes