Investigation of carbon nanosprings with the tunable mechanical properties controlled by the defect distribution