Effect of temperature on deformation of carbon nanotube under compression