Elastic and mechanical properties of carbon nanotubes