Buckling Analysis of a Double-Walled Carbon Nanotube Embedded in an Elastic Medium Using the Energy Method