Vibrations Of Series Of Beams Connected By Flexible Nonlinear Layers With Application To Carbon Nanotubes