Applications of whispering gallery modes resonances of silica rods and microcapillaries