A biomimetic approach for polyfunctional secocholanes: tuning flexibility and functionality on peptidic and macrocyclic scaffolds derived from bile acids.