Characterization of an antibacterial dodecapeptide from pig as a potential food preservative and its antibacterial mechanism.