Doping effects in the Sr14Cu24O41-type structure: a Raman scattering study