Calculated dependence of vibrational band frequencies of single-walled and double-walled carbon nanotubes on diameter