Synthesis of cyclic peptides by solid phase methodology