Role of crystallinity on the nanomechanical and electrochemical properties of TiO2 nanotubes