On the mechanism of gramicidin S formation from intermediate peptides.