Morphological and mechanical properties of carbon-nanotube-reinforced semicrystalline and amorphous polymer composites