Why Languages Use Diacritics