Charge transfer and photogeneration process in device consisting of safranine O dye and TiO2 nano-particles