Self‐Assembly of Polymers into Soft Nanoparticles and Nanocapsules