Optical and electrical properties of purpurin and alizarin complexone as sensitizers for dye-sensitized solar cells