Compounds containing amino groups bound to a carbon skeleton having amino groups bound to carbon atoms of rings other than six-membered aromatic rings of a saturated carbon skeleton