Structure and properties of a flame retardant ternary vitrimer regulated by cyclic and long-chain dicarboxylic acids