Nonlinear oscillations of carbon nanotubes