Synthesis and properties of template-promoted switchable dithienylethene-based macrocycles