The interaction between electromagnetic resonances and its role in spectroscopic studies of molecules adsorbed on colloidal particles or metal spheres