Effect of carbon nanotubes on the isotropic to nematic and the nematic to smectic- A phase transitions in liquid crystal and carbon nanotubes composites