Optimized antibacterial measures against Escherichia coli O157:H7 and Staphylococcus aureus