The bending-kinking analysis of a single-walled carbon nanotube—a combined molecular dynamics and continuum mechanics technique