Electronic structure and metal-insulator transition in SrTi1 - xRu xO 3