A molecular dynamics study of the mechanical properties of a double-walled carbon nanocoil