Structures and interactions of amyloidogenic polypeptides in biomimetic environments