A theoretical approach to intramolecular energy transfer and emission quantum yields in coordination compounds of rare earth ions