Chemical modification and the photoluminescence stabilization of titanic acid nanotubes