Crystal structure and magnetic properties of CoTiO3