Discovery of small molecules that modulate transient protein-protein interactions leading to amyloid formation