Structural and optical properties of Purpurin for dye-sensitized solar cells.