Design of Novel Titanium Dioxide-Based Multifunctional Electrochemical Cells