Foldamer-templated catalysis of macrocycle formation