Interplay between spin crossover and proton migration along short strong hydrogen bonds