Mechanism of antimicrobial peptide NP-6 from Sichuan pepper seeds against E. coli and effects of different environmental factors on its activity