Electrolysis of carbothermic treated titanium oxides to produce Ti metal