Multiscale prediction of functional self-assembled materials using machine learning: high-performance surfactant molecules.