Molecular dynamics simulation of mechanical, vibrational and electronic properties of carbon nanotubes