A typology of tone and inflection