Energetics and self-assembly of amphipathic peptide pores in lipid membranes