Control of glycopolymer nanoparticle morphology by a one-pot, double modification procedure using thiolactones.