Harmonizing Bach chorales