Density functional theory model for carbon dot surfaces and their interaction with silver nanoparticles