Fabrication and characterization of CdS nanotube arrays in porous anodic aluminum oxide templates