Influence of solid support, solvent and coupling reagent on the head-to-tail cyclization of resin-bound peptides.