Effect of nanotube waviness on the electrical conductivity of carbon nanotube-based composites