Photoinduced electron and energy transfer in dyads of porphyrin dimer and perylene tetracarboxylic diimide.