High efficiency of the NH4H2PO4/Mg(OH)2 composite for guaranteeing safety of wood production