Synthesis of CdS nanocrystals with different morphologies via an ultraviolet irradiation route