Compounds of the formula I where R4 is a hydrogen atom can be prepared by decarboxylating rearrangement, for example using iodosobenzene bistrifluoroacetate, or by a Hofmann reaction using bromine in alkaline solution, of amides of the formula V or amides of the formula VI ##STR10## to form amines of the formula I where n is 0 or 1 respectively.