Synthesis of stimuli-responsive nanosized ring-like colloids and cyclic polymers via a dual-template approach