A quantum dot model for nanoparticles in polymer nanocomposites