Theoretical investigation of self-assembled donor-acceptor phthalocyanine complexes and their application in dye-sensitized solar cells.