Morphology dependent resonances of microspheres and spontaneous emission of dye molecules