Photoemission and x-ray absorption study of the electronic structure of SrRu1- xTixO3