Functional materials from self-assembled compounds by