Improvement of Thermal and Mechanical Properties of Carbon Nanotube Composites through Chemical Functionalization