Ionization potential studies of organic dye adsorbed onto TiO2 electrode