Buckling properties of carbon nanotubes under hydrostatic pressure