Molecular dynamics simulation of thermal and mechanical properties of polyimide–carbon-nanotube composites