Free energy approaches to understanding the mechanism of membrane-active peptides