Visible light switchable bR/TiO2 nanostructured photoanodes for bio-inspired solar energy conversion