Effect of dispersion of nano-magnesium hydroxide on the flammability of flame retardant ternary composites