Effect of Longitudinal Magnetic Field on Vibration Characteristics of Single-Walled Carbon Nanotubes in a Viscoelastic Medium