Photoinduced energy-transfer and electron-transfer processes in molecules of tetrakis((E)-2-(50-hexyl-2,20-bithiophen-5-yl)vinyl)benzene and perylenediimide