Anodic titanium oxide as immobilized photocatalyst in UV or visible light devices