Mechanical properties of carbon nanotubes with vacancies and related defects