Preparation of mesoporous spherulites in surfactant solutions