Soft X-ray core-level spectroscopy studies of molecules on TiO2 surfaces in the context of light harvesting