A diachronically-motivated segmental phonology of Mandarin Chinese