Excitation transfer from a donor to acceptors in condensed media: a unified approach