From chemometrics to theoretical tools: understanding the electrochemical behavior of titanium dioxide electrodes in sodium batteries