Buckling and post-buckling analysis of single wall carbon nanotubes using molecular mechanics