Effects of precursors on the crystal structure and photoluminescence of CdS nanocrystalline