Synthesis, photoluminescence, and adsorption of CdS/dendrimer nanocomposites.