Dominant influence of vibrational entropy on the phase transition in CoNi and related high-entropy alloys