CdS nanowires array on Cd foil: synthesis and optical properties