Electronic energy transfer between fluorescent dyes with inter- and intramicellar interactions