Electrochemical synthesis and In situ Raman spectroscopy of thin films of Titanium dioxide