Stimulated emission of CdS nanowires grown by thermal evaporation