The growth of thin Ti and TiOx films on Pt(111): Morphology and oxidation states