Structural analysis and magnetic properties of cobalt-doped nanotitania