Theoretical calculations on morphology dependent resonances of microparticles and their effects on the spontaneous emission of dye molecules