3D structured materials and devices for artificial photosynthesis