Metal-insulator transition in the thallium strontium cobaltite TiSr2CoO5