Title: Mechanism of flame retardancy of polyamides containing magnesium hydroxide