having amino or carboxyl groups bound to carbon atoms of rings other than six-membered aromatic rings of the same carbon skeleton