Compounds containing amino groups bound to a carbon skeleton having amino groups bound to acyclic carbon atoms of an unsaturated carbon skeleton containing at least one six-membered aromatic ring