Semiconductor tubes, rods and rings of nanometer and micrometer dimension