Influence of Surface Condition on Nanoporous and Nanotubular Film Formation on Titanium