Theoretical treatment of anharmonicity of vibrational modes of single-walled carbon nanotubes