Structural basis of antibacterial peptide transport across membranes