Optically defined multifunctional patterning of photosensitive thin-film silica mesophases.