Effect of anodizing conditions on the formation of TiO2 nanotubes on pure Ti and Ti6Al4V alloy