Structured materials syntheses in a self-assembled surfactant mesophase