Peptide macrocyclization by a bifunctional endoprotease.