Nanostructure synthesis using surfactants and copolymers