Development of a novel composite inhibitor modified with proanthocyanidins and mixed with ammonium polyphosphate