Theoretical studies of the dynamics of electron transfer in dye sensitized solar cells and of the mechanism of singlet fission in organic crystalline materials