Photophysical Studies of Ruthenium-Based Complexes and the Performance of Nanostructured TiO2 Based Dye Sensitized Solar Cells