Assembly, structure and optical response of three-dimensional dynamically tunable multicomponent superlattices.