Structure and electronic properties of single-walled carbon nanotubes intercalated by transition metal halogenidesстатья