Computer translation of IUPAC systematic organic chemical nomenclature. 2. Development of a formal grammar