Improving the contact properties of CdS-decorated TiO2 nanotube arrays using an electrochemical/thermal/chemical approach