Excitation energy transfer and quenching in a heterodimer: applications to the carotenoid-phthalocyanine dyads.