Directional CdS nanowires fabricated by chemical bath deposition