Selective growth of single-wall carbon nanotubes and the fabrication of devices on their basis