Highly thermostable and durably flame-retardant unsaturated polyester modified by a novel polymeric flame retardant containing Schiff base and spirocyclic structures