Defective Black TiO2 Nanotube Arrays for Enhanced Photocatalytic and Photoelectrochemical Applications