Single-walled carbon nanotube–polymer composites: electrical, optical and structural investigation