Effect of the Compact TiO2 Layer on Charge Transfer between N3 Dyes and TiO2 Investigated by Raman Spectroscopy