Vibronic coupling and valence mixing in the 1s→Rydberg excited states of C2H2 in comparison with N2 and CO