Atomistic simulation of defected magnesium hydroxide as flame retardants