On localized modes of free vibrations of single‐walled carbon nanotubes embedded in nonhomogeneous elastic medium