Guiding optical modes in chains of dielectric particles