Addition and condensation products with amines or phosphines