Controlled nanogel and macrogel structures from self-assembly of a stimuli-responsive amphiphilic block copolymer.