Functional materials composed of supramolecular fibrils