Reactive precursor particles as synthetic platform for the generation of functional nanoparticles, nanogels, and microgels