A Probabilistic Model of Chord Substitutions