Temperament in Bach’s Well-tempered clavier: a historical survey and a new evaluation according to dissonance theory