Interaction of YD2 and TiO2 in dye-sensitized solar cells (DSSCs) : a density functional theory study