Common mechanism unites membrane poration by amyloid and antimicrobial peptides