Magnetism and stability of the Co:TiO2(1 0 0) interface probed by X-ray photoemission and ex situ magnetometry