Nanostructured styrenic copolymers containing glucopyranosyl residues and their functionalization