Phonetics and function in diachronic conflict: the case of rising tones