Morphology-Controlled Synthesis of CdS Nanostructures and Their Optical Properties