Unsaturated polyester resins modified with phosphorus-containing groups: Effects on thermal properties and flammability