Multi-material 3D microstructures with photochemically adaptive mechanical properties