Terahertz spectroscopy of carbon nanotubes embedded in a deformable rubber