Influence of post formation proceses on electrochemical and photoelectrochemical behaviour of TiO2 nanotubes