Nonlinear optical vibrations of single-walled carbon nanotubes. 1. Energy exchange and localization of low-frequency oscillations