Electrical properties and applications of carbon nanotube composites