Biomimetic synthesis of cyclic peptides using novel thioester surrogates.