Energy consumption of the Kroll and HAMR processes for titanium production