Thermodynamic characterisation and simulation for the electrolytic extraction of titanium from oxide melts.