Metal compound-enhanced flame retardancy of intumescent epoxy resins containing ammonium polyphosphate