Carbon nanotube-based nanocomposites and their applications