Influence of cis-trans isomerisation on pentapeptide cyclisation