Preparation of Ti by direct electrochemical reduction of solid TiO2 and its reaction mechanism