Single-crystal mesostructured semiconductors with cubic Ia3d symmetry and ion-exchange properties.